package cn.tedu.car.backend.checklist.pojo.vo;

import cn.tedu.car.backend.order.enums.OrderStatus;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class PendingVO {

    @ApiModelProperty(value = "订单id")
    String orderNo;
    @ApiModelProperty(value = "消费者id")
    Long customerId;
    @ApiModelProperty(value = "车辆id")
    Long vehicleId;
    @ApiModelProperty(value = "取出站点id")
    Long fetchStationId;
    @ApiModelProperty(value = "还车站点id")
    Long backStationId;
    @ApiModelProperty(value = "取车时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date gmtFetch;
    @ApiModelProperty(value = "还车时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date gmtBack;
    @ApiModelProperty(value = "订单状态")
    OrderStatus orderStatus;
    @ApiModelProperty(value = "支付状态")
    String payStatus;
    @ApiModelProperty(value = "支付方式")
    String payMethod;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    Date createTime;

}

